package com.cyzy.service;

import com.cyzy.pojo.ChatMessage;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cuncun
 * @create 2025-06-03 上午9:57
 */

public interface MessageService {

    //查询聊天记录
    public List<ChatMessage> chatHistory(String conversationId);

    //存储聊天记录
    public void saveChatHistory(ChatMessage chatMessage);
}
